package cn.whit.blog.domain;

import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

/**
 * solr查询结果数据
 * @author 17438
 *
 */
public class Article {
	
	@Field
	private String id;
	@Field
	private String title;
	@Field
	private String author;
	@Field
	private Date publishDate;
	@Field
	private String content;
	@Field
	private String desc;
	@Field
	private String memo;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Article() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Article(String id, String title, String author, Date publishDate, String content, String desc, String memo) {
		super();
		this.id = id;
		this.title = title;
		this.author = author;
		this.publishDate = publishDate;
		this.content = content;
		this.desc = desc;
		this.memo = memo;
	}
	
	
}
